home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / standard / readcomponent.z / readcomponent
Encoding:
Text File  |  2002-10-03  |  2.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4. rrrreeeeaaaaddddccccoooommmmppppoooonnnneeeennnntttt((((3333GGGG))))                                            rrrreeeeaaaaddddccccoooommmmppppoooonnnneeeennnntttt((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      rrrreeeeaaaaddddccccoooommmmppppoooonnnneeeennnntttt - sets the component source within the framebuffer source
  10.      for pixels that various routines read, useful primarily for monochrome
  11.      image processing.
  12.  
  13. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  14.      vvvvooooiiiidddd rrrreeeeaaaaddddccccoooommmmppppoooonnnneeeennnntttt((((lllloooonnnngggg mmmmooooddddeeee))))
  15.  
  16. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  17.      _s_r_c    expects a symbolic constant that identifies the pixel component
  18.             that is to be used:
  19.  
  20.             RRRRCCCC____AAAABBBBGGGGRRRR Indicates that all 4 frame buffer components, ABGR should
  21.             be transferred.  This is the default.
  22.  
  23.             RRRRCCCC____AAAALLLLPPPPHHHHAAAA selects the alpha channel of the current framebuffer
  24.             selected by readsource.
  25.  
  26.             RRRRCCCC____BBBBLLLLUUUUEEEE selects the blue channel of the current framebuffer
  27.             selected by readsource.
  28.  
  29.             RRRRCCCC____GGGGRRRREEEEEEEENNNN selects the green channel of the current framebuffer
  30.             selected by readsource.
  31.  
  32.             RRRRCCCC____RRRREEEEDDDD selects the red channel of the current framebuffer selected
  33.             by readsource.
  34.  
  35. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  36.      rrrreeeeaaaaddddccccoooommmmppppoooonnnneeeennnntttt specifies the component source buffer from the pixel source
  37.      buffer that rrrreeeeccccttttccccooooppppyyyy, rrrreeeeaaaaddddppppiiiixxxxeeeellllssss, rrrreeeeaaaaddddRRRRGGGGBBBB, rrrreeeeccccttttrrrreeeeaaaadddd, llllrrrreeeeccccttttrrrreeeeaaaadddd, and
  38.      ffffbbbbssssuuuubbbbtttteeeexxxxllllooooaaaadddd use.
  39.  
  40. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  41.      lrectread, readpixels, readRGB, rectcopy, fbsubtexload
  42.  
  43. NNNNOOOOTTTTEEEESSSS
  44.      This subroutine is available only in immediate mode and only on
  45.      RealityEngine systems running 5.0.1 or later.
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.